package day5;

//1-100之间不能被7整除的数的和
public class Yibai100 {
    public static void main(String[] args) {
        int start=1;
        int sum=0;
        while (start<=100){
            if(start%7!=0){
                sum=sum+start;
            }
            start++;
        }
        System.out.println("和为："+sum);
    }
}
